# -*- coding: utf-8 -*-
from zope.lifecycleevent import ObjectModifiedEvent
from zope.interface import implements

from interfaces import IContainerModifiedEvent, INewLocalSite


class ContainerModifiedEvent(ObjectModifiedEvent):
    """
    The container has been modified.
    """
    implements(IContainerModifiedEvent)


class NewLocalSite(object):
    """
    Event: a local site was created.
    """
    implements(INewLocalSite)
    
    def __init__(self, manager):
        self.manager = manager
